package com.wxx.design.builder.v2;

/**
 * @author: Jetwang
 * @date: 2022/4/10 14:52
 * @description: Test
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        // 链式调用
        Course course = new Course.CourseBuilder().buildCourseArticle("Python入门手记")
                .buildCourseName("Python入门到入土")
                .buildCoursePPT("Python入门PPT").build();
        System.out.println(course);
    }
}
